/**
 * output package name
 */
package com.kingdee.eas.custom.quality;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class Question extends StringEnum
{
    public static final String MANAGER_VALUE = "10";
    public static final String INFO_VALUE = "20";
    public static final String PROJECT_VALUE = "30";

    public static final Question manager = new Question("manager", MANAGER_VALUE);
    public static final Question info = new Question("info", INFO_VALUE);
    public static final Question project = new Question("project", PROJECT_VALUE);

    /**
     * construct function
     * @param String question
     */
    private Question(String name, String question)
    {
        super(name, question);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static Question getEnum(String question)
    {
        return (Question)getEnum(Question.class, question);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(Question.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(Question.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(Question.class);
    }
}